//
//  AuthenMsgParam.swift
//  kxf
//
//  Created by Mac on 2024/3/14.
//

import Foundation

class AuthenMsgParam{
    
    static let shared = AuthenMsgParam()
    
    private init(){
        
    }
    
    public func paramsForMiniMercMsg() -> NSDictionary{
        return ["openingBank":"\(AuthenMiniMsgModel.shareInstance.legalBankBranchName)",
                "branchBankNo":"\(AuthenMiniMsgModel.shareInstance.legalBankBranchCode)",
                "tel":"\(AuthenMiniMsgModel.shareInstance.tel)",
                "mchName":"\(AuthenMiniMsgModel.shareInstance.mercNameAll)",
                "mchType":"1",//0   企业   1  小微   2 个体
                "name":"\(AuthenMiniMsgModel.shareInstance.mercNameSimple)",
                "businessType":"1",
                "merchantType":"1",
                "mcc":"\(AuthenMiniMsgModel.shareInstance.mercMccCode)",
                "industryTypeOne":"\(AuthenMiniMsgModel.shareInstance.mercMccName)",
                "aliPayMcc":"\(AuthenMiniMsgModel.shareInstance.mercAlipayMcc)",
                "industryAliPay":"\(AuthenMiniMsgModel.shareInstance.mercAlipayMccName)",
                "wechatMcc":"\(AuthenMiniMsgModel.shareInstance.mercWeChatMcc)",
                "industryWechat":"\(AuthenMiniMsgModel.shareInstance.mercWeChatMccName)",
                "placeCode":"\(AuthenMiniMsgModel.shareInstance.placeCode)",
                "placeCodeText":"\(AuthenMiniMsgModel.shareInstance.placeCodeText)",
                "businessPhone":"\(AuthenMiniMsgModel.shareInstance.legalBankPhone)",
                "merchantAddress":"\(AuthenMiniMsgModel.shareInstance.addressDetail)",
                "shopHeadPic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlMentou)",
                "shopOnPic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlDianNei)",
                "shopCashPic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlCash)",
                "otherAttachment":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlLocation)",
                "xinming":"\(AuthenMiniMsgModel.shareInstance.legalName)",
                "email":"\(AuthenMiniMsgModel.shareInstance.emailAddress)",
                "remark":"\(AuthenMiniMsgModel.shareInstance.remark)",
                "bankName":"\(AuthenMiniMsgModel.shareInstance.legalBankName)",
                "shenfengzhengpic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlIdCardFront)",
                "shenfengfanpic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlIdCardBack)",
                "holdingCardPic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlIdCardInhand)",
                "shenfengid":"\(AuthenMiniMsgModel.shareInstance.legalIdCardNo)",
                "shenfengbegindate":"\(AuthenMiniMsgModel.shareInstance.legalIdCardStartTime)",
                "shenfengenddate":"\(AuthenMiniMsgModel.shareInstance.legalIdCardEndTime)",
                "lawyerAddress":"\(AuthenMiniMsgModel.shareInstance.legalAddress)",
                "bankcardpic":"\(AuthenMiniMsgModel.shareInstance.photoImgUrlBankCardFront)",
                "bankcardid":"\(AuthenMiniMsgModel.shareInstance.legalBankNo)",
                "bankTel":"\(AuthenMiniMsgModel.shareInstance.legalBankPhone)",
                "registerType":"1",//首次提交用 1 . 如果是后台打回了。就取 info里面的posStatus
                "placeProvinceCode":"\(AuthenMiniMsgModel.shareInstance.addressProvinceCode)",
                "placeProvinceName":"\(AuthenMiniMsgModel.shareInstance.addressProvinceName)",
                "placeCityCode":"\(AuthenMiniMsgModel.shareInstance.addressCityCode)",
                "placeCityName":"\(AuthenMiniMsgModel.shareInstance.addressCityName)",
                "placeAreaCode":"\(AuthenMiniMsgModel.shareInstance.addressAreaCode)",
                "placeAreaName":"\(AuthenMiniMsgModel.shareInstance.addressAreaName)",
                "accBankType":"2",//账户类型  1对公   2对私
                "accBankTypeText":"\(AuthenMiniMsgModel.shareInstance.accBankTypeText)"]
    }
    func paramsForCompanyMercMsg() -> NSDictionary {
        return ["tel":"\(AuthenCompanyMsgModel.shareInstance.tel)",
                "licensePic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlLicence)",
                "mchName":"\(AuthenCompanyMsgModel.shareInstance.mchName)",
                "name":"\(AuthenCompanyMsgModel.shareInstance.mchNameSimple)",
                "merchantType":"0",
                "registeredCapital":"\(AuthenCompanyMsgModel.shareInstance.money)",
                "licenseNo":"\(AuthenCompanyMsgModel.shareInstance.licenseNo)",
                "licenseStart":"\(AuthenCompanyMsgModel.shareInstance.licenseStartTime)",
                "licenseEnd":"\(AuthenCompanyMsgModel.shareInstance.licenseEndTime)",
                "mcc":"\(AuthenCompanyMsgModel.shareInstance.mercMccCode)",
                "industryTypeOne":"\(AuthenCompanyMsgModel.shareInstance.mercMccName)",
                "aliPayMcc":"\(AuthenCompanyMsgModel.shareInstance.mercAlipayMcc)",
                "industryAliPay":"\(AuthenCompanyMsgModel.shareInstance.mercAlipayMccName)",
                "wechatMcc":"\(AuthenCompanyMsgModel.shareInstance.mercWeChatMcc)",
                "industryWechat":"\(AuthenCompanyMsgModel.shareInstance.mercWeChatMccName)",
                "merchantAddress":"\(AuthenCompanyMsgModel.shareInstance.licenseAddress)",
                "email":"\(AuthenCompanyMsgModel.shareInstance.email)",
                "businessScope":"\(AuthenCompanyMsgModel.shareInstance.licenseArea)",
                "remark":"\(AuthenCompanyMsgModel.shareInstance.remark)",
                "shenfengzhengpic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlIdCardFront)",
                "shenfengfanpic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlIdCardBack)",
                "holdingCardPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlIdCardInhand)",
                "xinming":"\(AuthenCompanyMsgModel.shareInstance.legalName)",
                "shenfengid":"\(AuthenCompanyMsgModel.shareInstance.legalIdCardNo)",
                "shenfengbegindate":"\(AuthenCompanyMsgModel.shareInstance.legalIdCardStartTime)",
                "shenfengenddate":"\(AuthenCompanyMsgModel.shareInstance.legalIdCardEndTime)",
                "lawyerAddress":"\(AuthenCompanyMsgModel.shareInstance.legalAddress)",
                "bankcardpic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlBankCardFront)",
                "bankPassPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlBankKaiHuXuKe)",
//                "transferApplyAttachment":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlBankZhuanZhang)",
//                "mchContractPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlBankOther)",
                "bankcardid":"\(AuthenCompanyMsgModel.shareInstance.settleBankNo)",
                "accBankType":"\(AuthenCompanyMsgModel.shareInstance.settleBankType)",
                "accBankTypeText":"\(AuthenCompanyMsgModel.shareInstance.settleBankTypeName)",
                "bankName":"\(AuthenCompanyMsgModel.shareInstance.settleBankNamePrivate)",
                "openingBank":"\(AuthenCompanyMsgModel.shareInstance.settleBankBranchNamePrivate)",
                "bankTel":"\(AuthenCompanyMsgModel.shareInstance.settleBankPhone)",
                "corporateAccount":"\(AuthenCompanyMsgModel.shareInstance.settleBankNoPublic)",
                "corporateBankName":"\(AuthenCompanyMsgModel.shareInstance.settleBankNamePublic)",
                "corporateBranchName":"\(AuthenCompanyMsgModel.shareInstance.settleBankBranchNamePublic)",
                "shopHeadPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlMenTou)",
                "shopOnPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlDianNei)",
                "shopCashPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlCash)",
                "shopOutPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlDianWai)",
                "otherAttachment":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlLocation)",
                "shopName":"\(AuthenCompanyMsgModel.shareInstance.mercName)",
                "shopUserName":"\(AuthenCompanyMsgModel.shareInstance.mercContactName)",
                "shopPhone":"\(AuthenCompanyMsgModel.shareInstance.mercContactPhone)",
                "shopAddress":"\(AuthenCompanyMsgModel.shareInstance.mercAddress)",
                "placeProvinceCode":"\(AuthenCompanyMsgModel.shareInstance.addressProvinceCode)",
                "placeProvinceName":"\(AuthenCompanyMsgModel.shareInstance.addressProvinceName)",
                "placeCityCode":"\(AuthenCompanyMsgModel.shareInstance.addressCityCode)",
                "placeCityName":"\(AuthenCompanyMsgModel.shareInstance.addressCityName)",
                "placeAreaCode":"\(AuthenCompanyMsgModel.shareInstance.addressAreaCode)",
                "placeAreaName":"\(AuthenCompanyMsgModel.shareInstance.addressAreaName)",
                "shopProvinceCode":"\(AuthenCompanyMsgModel.shareInstance.mercAddressProvinceCode)",
                "shopProvinceName":"\(AuthenCompanyMsgModel.shareInstance.mercAddressProvinceName)",
                "shopCityCode":"\(AuthenCompanyMsgModel.shareInstance.mercAddressCityCode)",
                "shopCityName":"\(AuthenCompanyMsgModel.shareInstance.mercAddressCityName)",
                "shopAreaCode":"\(AuthenCompanyMsgModel.shareInstance.mercAddressAreaCode)",
                "shopAreaName":"\(AuthenCompanyMsgModel.shareInstance.mercAddressAreaName)",
                "settleWay":"\(AuthenCompanyMsgModel.shareInstance.settleWay)",
                "settleWayName":"\(AuthenCompanyMsgModel.shareInstance.settleWayName)",
                "unincorporateIdCardFrontImage":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardFrontImage)",
                "unincorporateIdCardBackImage":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardBackImage)",
                "unincorporateHandheldIdCard":"\(AuthenCompanyMsgModel.shareInstance.unincorporateHandheldIdCard)",
                "unincorporateBankCardImage":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankCardImage)",
                "proofMchntImg":"\(AuthenCompanyMsgModel.shareInstance.unincorpoProofMchntImg)",
                "unincorporateIdCardName":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardName)",
                "unincorporateIdCardNo":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardNo)",
                "unincorporateIdCardStartDate":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardStartDate)",
                "unincorporateIdCardEndDate":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardEndDate)",
                "unincorporateCardNo":"\(AuthenCompanyMsgModel.shareInstance.unincorporateCardNo)",
                "unincorporateBankName":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankName)",
                "unincorporateBankNo":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankNo)",
                "unincorporateBankTel":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankTel)"]
        
    }
    func paramsForCompanyGeTiMsg() -> NSDictionary {
        return ["tel":"\(AuthenCompanyMsgModel.shareInstance.tel)",
                "licensePic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlLicence)",
                "mchName":"\(AuthenCompanyMsgModel.shareInstance.mchName)",
                "name":"\(AuthenCompanyMsgModel.shareInstance.mchNameSimple)",
                "merchantType":"2",
                "registeredCapital":"\(AuthenCompanyMsgModel.shareInstance.money)",
                "licenseNo":"\(AuthenCompanyMsgModel.shareInstance.licenseNo)",
                "licenseStart":"\(AuthenCompanyMsgModel.shareInstance.licenseStartTime)",
                "licenseEnd":"\(AuthenCompanyMsgModel.shareInstance.licenseEndTime)",
                "mcc":"\(AuthenCompanyMsgModel.shareInstance.mercMccCode)",
                "industryTypeOne":"\(AuthenCompanyMsgModel.shareInstance.mercMccName)",
                "aliPayMcc":"\(AuthenCompanyMsgModel.shareInstance.mercAlipayMcc)",
                "industryAliPay":"\(AuthenCompanyMsgModel.shareInstance.mercAlipayMccName)",
                "wechatMcc":"\(AuthenCompanyMsgModel.shareInstance.mercWeChatMcc)",
                "industryWechat":"\(AuthenCompanyMsgModel.shareInstance.mercWeChatMccName)",
                "merchantAddress":"\(AuthenCompanyMsgModel.shareInstance.licenseAddress)",
                "email":"\(AuthenCompanyMsgModel.shareInstance.email)",
                "businessScope":"\(AuthenCompanyMsgModel.shareInstance.licenseArea)",
                "remark":"\(AuthenCompanyMsgModel.shareInstance.remark)",
                "shenfengzhengpic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlIdCardFront)",
                "shenfengfanpic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlIdCardBack)",
                "holdingCardPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlIdCardInhand)",
                "xinming":"\(AuthenCompanyMsgModel.shareInstance.legalName)",
                "shenfengid":"\(AuthenCompanyMsgModel.shareInstance.legalIdCardNo)",
                "shenfengbegindate":"\(AuthenCompanyMsgModel.shareInstance.legalIdCardStartTime)",
                "shenfengenddate":"\(AuthenCompanyMsgModel.shareInstance.legalIdCardEndTime)",
                "lawyerAddress":"\(AuthenCompanyMsgModel.shareInstance.legalAddress)",
                "bankcardpic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlBankCardFront)",
                "bankcardid":"\(AuthenCompanyMsgModel.shareInstance.settleBankNo)",
                "accBankType":"\(AuthenCompanyMsgModel.shareInstance.settleBankType)",
                "accBankTypeText":"\(AuthenCompanyMsgModel.shareInstance.settleBankTypeName)",
                "bankName":"\(AuthenCompanyMsgModel.shareInstance.settleBankNamePrivate)",
                "openingBank":"\(AuthenCompanyMsgModel.shareInstance.settleBankBranchNamePrivate)",
                "bankTel":"\(AuthenCompanyMsgModel.shareInstance.settleBankPhone)",
                "shopHeadPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlMenTou)",
                "shopOnPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlDianNei)",
                "shopCashPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlCash)",
                "shopOutPic":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlDianWai)",
                "otherAttachment":"\(AuthenCompanyMsgModel.shareInstance.photoImgUrlLocation)",
                "shopName":"\(AuthenCompanyMsgModel.shareInstance.mercName)",
                "shopUserName":"\(AuthenCompanyMsgModel.shareInstance.mercContactName)",
                "shopPhone":"\(AuthenCompanyMsgModel.shareInstance.mercContactPhone)",
                "shopAddress":"\(AuthenCompanyMsgModel.shareInstance.mercAddress)",
                "placeProvinceCode":"\(AuthenCompanyMsgModel.shareInstance.addressProvinceCode)",
                "placeProvinceName":"\(AuthenCompanyMsgModel.shareInstance.addressProvinceName)",
                "placeCityCode":"\(AuthenCompanyMsgModel.shareInstance.addressCityCode)",
                "placeCityName":"\(AuthenCompanyMsgModel.shareInstance.addressCityName)",
                "placeAreaCode":"\(AuthenCompanyMsgModel.shareInstance.addressAreaCode)",
                "placeAreaName":"\(AuthenCompanyMsgModel.shareInstance.addressAreaName)",
                "shopProvinceCode":"\(AuthenCompanyMsgModel.shareInstance.mercAddressProvinceCode)",
                "shopProvinceName":"\(AuthenCompanyMsgModel.shareInstance.mercAddressProvinceName)",
                "shopCityCode":"\(AuthenCompanyMsgModel.shareInstance.mercAddressCityCode)",
                "shopCityName":"\(AuthenCompanyMsgModel.shareInstance.mercAddressCityName)",
                "shopAreaCode":"\(AuthenCompanyMsgModel.shareInstance.mercAddressAreaCode)",
                "shopAreaName":"\(AuthenCompanyMsgModel.shareInstance.mercAddressAreaName)",
                "settleWay":"\(AuthenCompanyMsgModel.shareInstance.settleWay)",
                "settleWayName":"\(AuthenCompanyMsgModel.shareInstance.settleWayName)",
                "unincorporateIdCardFrontImage":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardFrontImage)",
                "unincorporateIdCardBackImage":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardBackImage)",
                "unincorporateHandheldIdCard":"\(AuthenCompanyMsgModel.shareInstance.unincorporateHandheldIdCard)",
                "unincorporateBankCardImage":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankCardImage)",
                "proofMchntImg":"\(AuthenCompanyMsgModel.shareInstance.unincorpoProofMchntImg)",
                "unincorporateIdCardName":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardName)",
                "unincorporateIdCardNo":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardNo)",
                "unincorporateIdCardStartDate":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardStartDate)",
                "unincorporateIdCardEndDate":"\(AuthenCompanyMsgModel.shareInstance.unincorporateIdCardEndDate)",
                "unincorporateCardNo":"\(AuthenCompanyMsgModel.shareInstance.unincorporateCardNo)",
                "unincorporateBankName":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankName)",
                "unincorporateBankNo":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankNo)",
                "unincorporateBankTel":"\(AuthenCompanyMsgModel.shareInstance.unincorporateBankTel)"]
    }
}
